package com.cqq.attachment.service;

import java.util.List;

import com.cqq.attachment.service.bean.AttachmentBean;
import com.cqq.attachment.service.exception.AttachmentException;

/**
 * @author CHENQQ
 * @date 2015-12-03
 */
public interface AttachmentService{
	
	int deleteByPrimaryKey(Integer id) throws AttachmentException;

    int insertSelective(AttachmentBean record) throws AttachmentException;

    AttachmentBean selectByPrimaryKey(Integer id) throws AttachmentException;

    int updateByPrimaryKeySelective(AttachmentBean record) throws AttachmentException;
    
    List<AttachmentBean> queryAttachmentBeansByIds(Integer[] ids) throws AttachmentException;
}